Carbon


DMGetGraphicInfoByAVID

Header: Displays.h Carbon status: Supported

Obtains information about the graphic display of a display device.

OSErr DMGetGraphicInfoByAVID (
    AVIDType theID, 
    PicHandle *theAVPcit, 
    Handle *theAVIconSuite, 
    AVLocationRec *theAVLocation
);
Parameter descriptions
theID

The ID number of the display device whose information you want to obtain.

theAVPcit

On return, a pointer to the handle for the picture structure you want to get.

theAVIconSuite

On return, a pointer to a handle whose structure reports the icon suite for a display device.

theAVLocation

On return, a pointer to the location structure for the device you want information about.

function result

A result code.

SPECIAL CONSIDERATIONS

Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when Displays 2.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)